#if !defined(_EVENT_TYPES_H)
#define _EVENT_TYPES_H
#include <gtk/gtk.h>

typedef struct {
	int type;
	const char *type_string;
}etype_t;

#define MK_ET(t) {t,#t} 

static etype_t s_types[] = {
	MK_ET(GDK_NOTHING),MK_ET(GDK_DELETE),MK_ET(GDK_DESTROY),
	MK_ET(GDK_EXPOSE),MK_ET(GDK_MOTION_NOTIFY),MK_ET(GDK_BUTTON_PRESS),
	MK_ET(GDK_KEY_PRESS),MK_ET(GDK_KEY_RELEASE)
};

#define TYPES_COUNT (sizeof(s_types)/(sizeof(etype_t)))

#endif